package com.atguigu.daijia.customer.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "wx.miniapp")

/**
 * 微信小程序配置类，用来映射nacos里的配置，id和密钥都是微信公众号的
 */
public class WxConfigProperties {
    private String appId;
    private String secret;
}
